<template>
    <div class="loading"></div>
</template>
<script>
    export default {
        name: 'Loading' // 定义的组件名称 使用时写法：loading
    }
</script>
<style scoped>
    .loading {
        position: absolute;
        left: 0;
        top: 0;
        background: url('../assets/img/loadding.gif') center center no-repeat rgb(96, 96, 96, 0.8);
        background-size:60px auto;
        width: 100%;
        height: 100%;
        z-index: 1000;
    }
</style>